﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Payment.aspx.cs" Inherits="Youz.CreditRepay.Manage.PayEase.Payment" %>

<script type="text/javascript">

    var requireJS = [
        //"assets/plugins/databind-0.4.1/DataBind.min.js",
    ];

    loadJS(requireJS);

</script>

<div class="row">
				
	<div class="col-lg-3 col-sm-6 col-xs-6 col-xxs-12">
		<div class="smallstat">
			<i class="icon-anchor info"></i>
			<span class="value text-info" id="balance"></span>
			<span class="title">易支付余额</span>
		</div><!--/.smallstat-->
	</div><!--/.col-->
										
</div>

<script type="text/javascript">


    function getBalance() {
        $.post("PayEase/Handlers/PayEaseHandler.ashx?type=GetBalance", function (data) {
            console.log(data);
            $("#balance").html(data.balance);
        }, "json");
    }

    $(function () {
        getBalance();
    });


</script>
